const getters = {
  token: state => state.user.token, // token
  secret: state => state.user.secret, // token
  userInfo: state => state.user.userInfo, // 用户名
  permissions: state => state.user.permissions,
  roles: state => state.user.roles,
  btnPermissions: state => state.user.btnPermissions,
  menu: state => state.user.menu,
  isHeaderMenu: state => state.system.isHeaderMenu,
  pageTabs: state => state.system.pageTabs,
  rootSubmenuKeys: state => state.user.rootSubmenuKeys,
  openKeys: state => state.user.openKeys,
  openSelectedKeys: state => state.user.openSelectedKeys,

}
export default getters


